package com.order.api.service;

import com.order.api.po.TblMenu;
import com.order.api.vo.request.MenuIdRequest;
import com.order.api.vo.request.MenuSaveRequest;
import com.order.api.vo.request.MenuStateRequest;
import com.order.api.vo.response.MenuListResponse;

import java.util.List;

public interface TblMenuService {
    /**
     *菜单保存
     */
    boolean saveMenu(MenuSaveRequest request);
    /**
     * 菜单删除
     */
    boolean deleteMenu(MenuIdRequest request);
    /**
     * 菜单详情
     */
    TblMenu detailMenu(MenuIdRequest request);
    /**
     * 更新菜单状态
     */
    boolean updateState(MenuStateRequest request);
    /**
     * 菜单列表
     */
    List<MenuListResponse> findList();

}
